package com.kx.base.states;

/**
 * @Author Sun
 * @Date 2021/7/16 19:20
 */
public enum ErrorCode {
    /**
     * 用户名或者密码错误
     */
    SIGN_ERROR_USERNAME_OR_PWD(505, "用户名或者密码错误"),
    SIGN_ERROR_LOCK(501, "用户账户被锁定");



    int code;
    String msg;

    ErrorCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
    }
